package com.lifesting.wfs.execution;

import com.lifesting.wfs.model.Node;
import com.lifesting.wfs.model.Transition;
import com.lifesting.wfs.runtime.NodeExecutor;
import com.lifesting.wfs.runtime.Router;
import com.lifesting.wfs.runtime.RuntimeFactory;

public final class ExecutorFactory {
	public NodeExecutor createNodeExecutor(Node node){
		
		return null;
	}
	public Router createTransitionExecutor(Transition transition){
		Router r = RuntimeFactory.eINSTANCE.createRouter();
		r.setTransition(transition);
		return r;
	}
}
